package com.cskaoyan.mapper;


import com.cskaoyan.bean.bo.IssueCreateBO;
import com.cskaoyan.bean.vo.IssueVO.Issue;
import com.cskaoyan.bean.vo.IssueVO.IssueUpdateVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * mapper 文件
 *
 * @author: 杨东澎
 * @time:
 */

public interface IssueMapper {
    List<Issue> queryAll(String sort, String order, String question);

    int insert(@Param("issueCreateBO") IssueCreateBO issueCreateBO, @Param("time") Date time);

    int update(@Param("issueCreateBO") IssueCreateBO issueCreateBO, @Param("time") Date time);

    IssueUpdateVO selectIssue(IssueCreateBO issueCreateBO);

    void updateForDelete(IssueCreateBO issueCreateBO);




   /* List<Order> queryAll(@Param("sort") String sort, @Param("order") String order, @Param("orderStatusArray") Integer[] orderStatusArray, @Param("userId") Integer userId, @Param("orderSn") String orderSn, @Param("start") Date start, @Param("end") Date end);



    List<OrderGoodsPO> queryOrderGoods(Integer id);

    User queryOrderUsers(Integer id);

    Order2 queryOrder(Integer id);



    void updateshipOrder(@Param("orderId") Integer orderId, @Param("shipChannel") String shipChannel, @Param("shipSn") String shipSn);

    void updateRefundOrder(Integer orderId, Integer refundMoney);*/
}
